
package com.salesmanager.web.entity;

import com.salesmanager.web.constants.Constants;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by 123 on 2015/9/21.
 */
public class SMSMessage  implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String phone;
    private String content;
    private String code;
    //短信发送间隔最少时间
    private int timeOutSeconds= Constants.SMS_SEND_TIMEOUT;
    //短信验证超时时间
    private int validateTimeoutSeconds= Constants.SMS_VALIDATE_TIMEOUT;

    public int getValidateTimeoutSeconds() {
        return validateTimeoutSeconds;
    }

    public void setValidateTimeoutSeconds(int validateTimeoutSeconds) {
        this.validateTimeoutSeconds = validateTimeoutSeconds;
    }

    public int getTimeOutSeconds() {
        return timeOutSeconds;
    }

    public void setTimeOutSeconds(int timeOutSeconds) {
        this.timeOutSeconds = timeOutSeconds;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    //设置每种使用短信验证的业务类型
    private String type;
    private Date sendAt;
    private Date createAt;
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getSendAt() {
        return sendAt;
    }

    public void setSendAt(Date sendAt) {
        this.sendAt = sendAt;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }


}
